<?php
/**
 * 插件验证器
 */

namespace app\common\validate;

class PluginValidate extends Validate
{
    protected $rule = [
            'status|状态' => 'require',
    'install|是否安装' => 'require',

    ];

    protected $message = [
            'status.require' => '状态不能为空',
    'install.require' => '是否安装不能为空',

    ];

    protected $scene = [
        'add'  => ['status','install',],
'edit' => ['status','install',],

    ];

    

}
